home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 483 < prev    next >
Internet Message Format  |  1996-08-06  |  1KB

  1. Path: csun.edu!hbmus009
  2. From: hbmus009@csun.edu (christopher johnson)
  3. Newsgroups: comp.std.c,comp.lang.c,comp.lang.basic.visual.misc
  4. Subject: Re: DLLs
  5. Followup-To: comp.std.c,comp.lang.c,comp.lang.basic.visual.misc
  6. Date: 2 Mar 1996 21:18:57 GMT
  7. Organization: California State University, Northridge
  8. Message-ID: <4hae01$9id@dewey.csun.edu>
  9. References: <NEWTNews.825739945.5620.david@baldar.abs.net>
  10. NNTP-Posting-Host: louie.csun.edu
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. david@baldar.abs.net wrote:
  14.  
  15. > Are there any good references out there on writing DLLs?  I just got MS C++ 
  16. > 4.0.  Writing the .c is easy.  But the .def and .mak still eludes me (the 
  17. > online notes with MS C++ leave something to be desired).  Any recommendations? 
  18. >   Thanks.
  19. >                 Dave
  20.  
  21. Documentation on writing DLLs is pretty easily come by at the bookstore. 
  22. I think most Visual C++ tutorial books should have a chapter or so on that.
  23.  
  24. As for the .def and .mak files, if version 4.0 is anything like earlier
  25. versions, just go ahead and create a new project.  When you have a chance
  26. to change the Application type, make it a DLL, and then add all the code
  27. files you need in your project.  The framework takes care of creating a
  28. .mak file for you.  As for the .def file, if you don't add one to your
  29. project, it should ask if you would like one automatically generated on
  30. the first compile.  Do so, and then tweak it to your needs.
  31.  
  32. Hope that wasn't just a pile of twaddle.
  33.  
  34.                 Chris Johnson
  35.                 hbmus009@csun.edu
  36.  
  37.